<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="pragma" content="no-cache" />
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
<script type="text/javascript" src="<s:url value="/script/selfResize.js"/>"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0"><br>
<table width="680" align="center" border="0" cellspacing="0"
	cellpadding="0">
	<tr>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="148" height="33"><img src="<s:url value="/images/new/cpst_index8_3.gif"/>"
					width="148" height="33" alt="" /></td>
				<td background="<s:url value="/images/new/cpst_index8_4.gif"/>">&nbsp;</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>
		<s:set name="#cssName" value="%{'cpst_zxcp1'}"></s:set> 
		<s:set name="#morePic"
			value="%{'bbs_more1.gif'}"></s:set>
		<s:iterator value="products" status="st">
			<s:if test="#st.modulus(4)==1">
				<s:set name="#cssName" value="%{'cpst_zxcp1'}" ></s:set>
				<s:set name="#morePic" value="%{'bbs_more1.gif'}"></s:set>
			</s:if>
			<s:elseif test="#st.modulus(4)==2">
				<s:set name="#cssName" value="%{'cpst_zxcp2'}"></s:set>
				<s:set name="#morePic" value="%{'bbs_more2.gif'}"></s:set>
			</s:elseif>
			<s:elseif test="#st.modulus(4)==3">
				<s:set name="#cssName" value="%{'cpst_zxcp3'}"></s:set>
				<s:set name="#morePic" value="%{'bbs_more3.gif'}"></s:set>
			</s:elseif>
			<s:else>
				<s:set name="#cssName" value="%{'cpst_zxcp4'}"></s:set>
				<s:set name="#morePic" value="%{'bbs_more4.gif'}"></s:set>
			</s:else>
			<s:if test="#st.modulus(2)==1">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="49%" valign="top">
						<table width="94%" border="0" cellpadding="0" cellspacing="0"
							class="bb">
							<tr>
								<td class="<s:property value="#cssName"/>">${name}</td>
							</tr>
							<tr>
								<td valign="top" height="3"
									background="<s:url value="/images/new/bbs_linebg2.gif"/>"><img
									src="<s:url value="/images/new/spacer.gif"/>" width="1"
									height="1" /></td>
							</tr>
							<tr>
								<td>
								<table width="100%" border="0" cellpadding="0" cellspacing="0"
									class="cc">
									<tr>
										<td valign="top" width="70">
										<div><s:iterator id="attach" value="attachs">
											<img
												src="<s:url value="/common/showImg!showImg.action?imgWidth=66&imgHeight=62&attach.id="/><s:property value="id"/>"
												width="66" height="63" />
										</s:iterator></div>
										</td>
										<td valign="top">&nbsp;&nbsp;&nbsp; <s:if
											test="briefIntroduction.length()>60">
											<s:property value="briefIntroduction.substring(0,60)+'...'" />
										</s:if> <s:elseif
											test="briefIntroduction==''||briefIntroduction==null">
							&lt;暂无&gt;
							</s:elseif> <s:else>
											<s:property value="briefIntroduction" />
										</s:else></td>
									</tr>
								</table>
								</td>
							</tr>
							<tr>
								<td height="25">
								<div align="right"><a
									href="<s:url value="/business/catalog/showProduct.action?product.id="/><s:property value="id" />"
									target="_parent"><img
									src="<s:url value="/images/new/"/><s:property value="#morePic"/>" width="34"
									height="16" border="0" /></a></div>
								</td>
							</tr>
						</table>
						</td>
						</s:if>
						<s:else>
							<td width="3">
							<div align="center"><img
								src="<s:url value="/images/new/bbs_linebg.gif"/>" width="3"
								height="141" /></div>
							</td>
							<td width="49%" valign="top">
							<table width="94%" border="0" cellpadding="0" cellspacing="0"
								class="bb">
								<tr>
									<td class="<s:property value="#cssName"/>">${name}</td>
								</tr>
								<tr>
									<td valign="top" height="3"
										background="<s:url value="/images/new/bbs_linebg2.gif"/>"><img
										src="<s:url value="/images/new/spacer.gif"/>" width="1"
										height="1" /></td>
								</tr>
								<tr>
									<td>
									<table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="cc">
										<tr>
											<td valign="top" width="70">
											<div><s:iterator id="attach" value="attachs">
												<img src="<s:url value="/common/showImg!showImg.action?imgWidth=66&imgHeight=62&attach.id="/><s:property value="id"/>"
													onclick="return false;" width="66" height="63"/>
											</s:iterator></div>
											</td>
											<td valign="top">&nbsp;&nbsp;&nbsp; <s:if
												test="briefIntroduction.length()>60">
												<s:property value="briefIntroduction.substring(0,60)+'...'" />
											</s:if> <s:elseif
												test="briefIntroduction==''||briefIntroduction==null">
							&lt;暂无&gt;
							</s:elseif> <s:else>
												<s:property value="briefIntroduction" />
											</s:else></td>
										</tr>
									</table>
									</td>
								</tr>
								<tr>
									<td height="25">
									<div align="right"><a
										href="<s:url value="/business/catalog/showProduct.action?product.id="/><s:property value="id" />"
										target="_parent"><img
										src="<s:url value="/images/new/"/><s:property value="#morePic"/>" width="34"
										height="16" border="0" /></a></div>
									</td>
								</tr>
							</table>

							</td>
					</tr>
				</table>
				</s:else>
				<s:if test="#st.modulus(2)==1&&#st.last">
					<td width="3">
					<div align="center"><img
						src="<s:url value="/images/new/bbs_linebg.gif"/>" width="3"
						height="141" /></div>
					</td>
					<td width="49%" valign="top"></td>
	</tr>
</table>
</s:if>

</s:iterator>

</body>
</html>